import { http } from "@/utils/http";
import { baseUrlApi } from "@/api/utils";

/**
 * 保存菜单
 * @param data
 * @constructor
 */
export const SaveMenu = (data?: object) => {
  return http.request<any>("post", baseUrlApi("admin/menu/save"), { data });
};
